import time
# 装饰器
def decorator(func):
    def wrapper(*args,**kw):
        print(time.time())
        func(*args,**kw)
    return wrapper

@decorator
def f1():
    print('initcap')

@decorator
def f2(str,d):
    print(str + d)

@decorator
def f3(str,d,**kw):
    print(str+d)
f1()
f2('init','cap')
f3('init','cap',beanOne=1)